<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>vue项目</title>
    <script src="../js/vue.js"></script>
</head>
<body>
    <div id="app">
        <h1>欢迎来到vue，{{msg}}</h1>
        数字为：{{ num++ }}
        <!-- {{num++}} -->
    </div>
    <script>
        let vue = new Vue({
            el:"#app",
            data:{
                msg:"这是第一个vue程序",
                num: 5
            }
        })
    </script>
</body>
</html>